<?php

Yii::import('application.models._base.BaseSetting');

class Setting extends BaseSetting
{
	public static function model($className=__CLASS__) {
		return parent::model($className);
	}
	
	public function rules() {
		return CMap::mergeArray(
			parent::rules(),
			array(
				array('value', 'application.components.CVerticalTableValidator', 'on'=>'settings'),
			)
		);
	}
}